SAP Accounts Payable System API - Implementation Template
Developer guide
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Mapping Tables
Maps input request to create a Journal Entry request in SAP S/4HANA Cloud. Implements required fields to create a Journal Entry in SAP and can be extended as necessary.
SAP S/4HANA System Field Request Field Description UUID none Unique id of transaction generated with a DW function CreationDateTime none Current time stamp generated with a DW function SenderBusinessSystemId payload.senderSystemId Sending application system id configured for SAP S/4HANA instance RecipientBusinessSystemId payload.recipientSystemId Receiving application system id configured for SAP S/4HANA instance OriginalReferenceDocumentType payload.referenceDocumentType Original reference document type configured for SAP S/4HANA instance OriginalReferenceDocumentLogicalSystem payload.referenceDocumentSystemName Source System Name DocumentReferenceID payload.referenceDocumentId Reference Id from source system BusinessTransactionType payload.transactionType Transaction type configured for SAP S/4HANA instance AccountingDocumentType payload.accountingDocumentType Accounting document type configured for SAP S/4HANA instance DocumentHeaderText payload.documentHeaderText Document header text configured for SAP S/4HANA instance CreatedByUser payload.createdBy Who created the transaction configured for SAP S/4HANA instance CompanyCode payload.companyCode Company code for the transaction configured for SAP S/4HANA instance DocumentDate payload.documentDate Document created date from source system PostingDate payload.postingDate Posting date from source system Item.ReferenceDocumentItem payload.creditoItem.referenceDocumentId Creditor item reference Item.GLAccount payload.creditoItem.glAccount Item GL account configured for SAP S/4HANA instance Item.AmountInTransactionCurrency.currencyCode payload.creditorItem.amount.currencyCode Currency code with default configured for SAP S/4HANA instance Item.AmountInTransactionCurrency payload.creditorItem.amount.amount Journal Entry transaction amount Item.DebitCreditCode payload.creditorItem.debitOrCreditCode Item debit credit code configured for SAP S/4HANA instance Item.DocumentItemText payload.creditorItem.documentItemText Item description with default configured for SAP S/4HANA instance Item.AccountAssignmentType payload.creditorItem.accountAssignment.assignmentType Item account assignment type configured for SAP S/4HANA instance Item.ProfitCenter payload.creditorItem.accountAssignment.profitCenter Item profit center configured for SAP S/4HANA instance Item.CostCenter payload.creditorItem.accountAssignment.costCenter Item cost center configured for SAP S/4HANA instance DebtorItem.ReferenceDocumentItem payload.debtorItem.referenceDocumentItem Debtor reference document item with default configured for SAP S/4HANA instance DebtorItem.Debtor payload.debtorItem.debtor Customer ID which must exist in SAP S/4HANA DebtorItem.AmountInTransactionCurrency.currencyCode payload.debtorItem.amount.currencyCode Debtor currency code with default configured for SAP S/4HANA instance DebtorItem.AmountInTransactionCurrency payload.debtorItem.amount.amount Journal Entry transaction amount DebtorItem.DebitCreditCode payload.debtorItem.debitOrCreditCode Debtor item debit credit code configured for SAP S/4HANA instance